package com.gerryrun.mytestapplication

import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.gerryrun.lib_skin.SkinManager

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
    }


    fun change(view: View?) {
        Log.e("TAG", "change: ")
        //换肤，收包裹，皮肤包是独立的apk包，可以来自网络下载
        SkinManager.getInstance()
            .loadSkin("/data/data/com.gerryrun.mytestapplication/skin/app-debug.apk")
    }
}